<!-- 引入  userTop.html -->
<include file="userTop" />

<!-- 引入  navLeftOne.html -->
<include file="navLeftOne" />


            <div class="userRight">
                <div class="userRightContent">
                    <div class="upfileDiv" id="upfileDiv">
                        <div class="upfileClose" onclick="$('#upfileDiv').fadeOut(300)">关闭</div>
                        <iframe width="300" height="100" style=" padding:0px; margin:0px;" src="actionUpLoad.aspx?tn=pic&fn=userMessEdit" frameborder="0" scrolling="no"></iframe>
                    </div>
                    <div class="userRightContentTop">个人资料</div>
                    <form action="__SELF__" onsubmit="return valiForm()" method="post" name="userMessEdit">
                        <table width="810" class="userMessTable" border="0" cellspacing="0" cellpadding="5">
                        <foreach name="info" item="inf">
                            
                            <tr>
                                <td class="head">联系人</td>
                                <td>
                                    <input name="user_linkman" value="{$inf.user_linkman}" type="text" class="inputText" size="25" />
                                </td>
                                <td class="commentary">&nbsp;</td>
                            </tr>
                            <tr>
                                <td class="head">联系地址</td>
                                <td>
                                    <input name="user_addr" value="{$inf.user_addr}" type="text" class="inputText" size="25" />
                                </td>
                                <td class="commentary">&nbsp;</td>
                            </tr>
                            <tr>
                                <td class="head">真实姓名</td>
                                <td>
                                    <input name="real_name" value="{$inf.real_name}" type="text" class="inputText" size="25" />
                                </td>
                                <td class="commentary">&nbsp;</td>
                            </tr>
                            <tr>
                                <td class="head">性别</td>
                                <td>
                                    男   <input name="user_sex" value="男" type="radio" class="inputText" size="25" <if condition="$inf.user_sex eq '男'">checked</if>/>
                                    女   <input name="user_sex" value="女" type="radio" class="inputText" size="25" <if condition="$inf.user_sex eq '女'">checked</if>/>
                                    保密   <input name="user_sex" value="保密" type="radio" class="inputText" size="25" <if condition="$inf.user_sex eq '保密'">checked</if>/>
                                </td>
                                <td class="commentary">&nbsp;</td>
                            </tr>
                            <tr>
                                <td class="head">身份证</td>
                                <td>
                                    <input name="id_number" value="{$inf.id_number}" type="text" class="inputText" size="25" />
                                </td>
                                <td class="commentary">必须为18位身份证号码</td>
                            </tr>
                            <tr>
                                <td class="head">手机</td>
                                <td>
                                    <input name="user_tel" value="{$inf.user_tel}" type="text" class="inputText" size="25" />
                                </td>
                                <td class="commentary">&nbsp;</td>
                            </tr>
                            <tr>
                                <td class="head">ＱＱ</td>
                                <td>
                                    <input name="user_qq" value="{$inf.user_qq}" type="text" class="inputText" size="25" />
                                </td>
                                <td class="commentary">&nbsp;</td>
                            </tr>
                            <!--tr>
                                <td class="head">Email</td>
                                <td>
                                    <input name="email" value="" type="text" class="inputText" size="25" />
                                </td>
                                <td class="commentary"><img src="__PUBLIC__/Home/images/wenhao.gif" />用于找回密码和接收系统信息，提交后不可修改！</td>
                            </tr-->
                            
                            <tr>
                                <td></td>
                                <td>
                                    <input type="submit" class="inputSubmit" value="修改资料" />
                                </td>
                                <td></td>
                            </tr>
                            </foreach>
                        </table>
                    </form>
                    <script language="javascript" type="text/javascript">
                        function valiForm() {
                            if (document.userMessEdit.name.value.length > 50) {
                                alert("填写企业名称请保持在50字以内！")
                                return false
                            }
                            if (document.userMessEdit.address_1.value.length > 100) {
                                alert("填写企业地址请保持在100字以内！")
                                return false
                            }
                            if (document.userMessEdit.phone.value.length > 15) {
                                alert("填写电话号请保持在15字以内！")
                                return false
                            }
                            if (document.userMessEdit.tel.value.length > 11) {
                                alert("填写手机号请保持在11字以内！")
                                return false
                            }
                            if (document.userMessEdit.qq.value.length > 11) {
                                alert("填写QQ号请保持在11字以内！")
                                return false
                            }
                            return true
                        }
                    </script>
                </div>
            </div>
        </div>
    </div>
</body>

</html>